package com.sllp.C71S3TsllpShop.bean;

public class Address {
    private Integer id;

    private String name;

    private String tel;

    private String postal;

    private Integer user;

    private Integer business;

    private Integer admin;

    private Integer state;
    
    private User user1;

    public Address(Integer id, String name, String tel, String postal, Integer user, Integer business, Integer admin, Integer state) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.postal = postal;
        this.user = user;
        this.business = business;
        this.admin = admin;
        this.state = state;
    }

    public Address() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getPostal() {
        return postal;
    }

    public void setPostal(String postal) {
        this.postal = postal == null ? null : postal.trim();
    }

    public Integer getUser() {
        return user;
    }

    public void setUser(Integer user) {
        this.user = user;
    }

    public Integer getBusiness() {
        return business;
    }

    public void setBusiness(Integer business) {
        this.business = business;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

	public User getUser1() {
		return user1;
	}

	public void setUser1(User user1) {
		this.user1 = user1;
	}
	
}